﻿using SD.Entity;
using SD.Entity.PageSearch;
using SD.Entity.SearchEntity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SD.Interface.Service
{
    public interface IUserInfoService
    {
        UserInfo GetUserInfo(int id);

        int DeleteUserInfo(int id);

        int SaveUserInfo(UserInfo userInfo);

        List<UserInfo> GetUserInfoList(UserInfoSearch search);

        PagedList<UserInfo> QueryUserInfoList(UserInfoSearch search, PageView view);
    }
}
